package com.example.demo;

public class DecoratorDemo
{
    public  static  void main(String[] args){
        Drawable flower =new Flower();
        flower=new Mount(flower);
        System.out.println(flower.draw);


    }
    public  static class Hook implements Drawable{
        private  Drawable drawable;
        private Hook(Drawable drawable){
            this.drawable=drawable;

        }
        public  static class Mount implements Drawable{
            private  Drawable drawable;
            private Mount(Drawable drawable){
                this.drawable=drawable;

            }
        public String draw(){
            StringBuffer builder=new StringBuffer();

        }
    }



}

    private static class Drawable {
    }

    private static class Flower extends Drawable {
    }
}
